package top.tomxwd.myrule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xieweidu
 * @createDate 2020-06-14 21:10
 */
@Configuration
public class MyDeptRuleConfig {

    @Bean
    public IRule returnRule() {
        return new MyDeptRule();
    }

}
